adTempus API
PreviousUpNext
IDaySpecification::MonthMask Property

Bitmask defining the months in which the item will be executed

C++
__property long MonthMask;
C#
long MonthMask;
Visual Basic
Property MonthMask() As long
Default Value

0

The MonthMask allows you to get or set the month selection, without selecting individual months using the Months property. The MonthMask is a bit mask, with bits 1-12 representing months 1-12. For example, to select February and March you would set bits 2 (=&h4 or binary 100) and 3 (=&h8 or binary 1000), so the MonthMask would be set to &hC (binary 1100). To select all months, set the MonthMask to SpecialMaskValuesEnum.MaskAllMonths.

adTempus API Reference version 3.0.0.0, revised 10/30/2008